package com.calendar.api.service;

import com.calendar.api.model.Event;
import com.calendar.api.model.dto.EventDTO;

import java.time.LocalDate;
import java.util.List;

public interface EventService {
    List<Event> getEvents(LocalDate startDate, LocalDate endDate, Long userId);
    Event getEvent(Long id, Long userId);
    Event createEvent(EventDTO eventDTO, Long userId);
    Event updateEvent(Long id, EventDTO eventDTO, Long userId);
    void deleteEvent(Long id, Long userId);
} 